package com.itheima.dao;

import com.itheima.pojo.Order;

import java.util.Map;

/**
 * @author 黑马程序员
 * @Company http://www.ithiema.com
 * @Version 1.0
 */
public interface OrderDao {
    long findByOrder(Order condition);

    void addOrder(Order order);

    Map<String,Object> findById(Integer id);



    long findTodayOrderNumber(String todayDate);

    long findTodayVisitsNumber(String todayDate);

    long findOrderNumberByBetweenDate(String thisWeekMonday, String thisWeekSunday);

    long findVisitsNumberByAfterDate(String thisWeekMonday);
}
